package com.tom.service;

import com.tom.common.MyOrder;
import com.tom.common.OrderItem;
import com.tom.pojo.Comment;

import java.util.List;

public interface IOrderService {
    int newOrder (OrderItem orderItem);

    List<MyOrder> myOrder (Integer uid);

    List<MyOrder> latestOrder (Integer rid);

    List<MyOrder> completedOrder (Integer rid);

    int receiveOrder(Integer id);

    int send(Integer id);

    int confirm(Integer id);

    int comment(Comment comment);

    Comment myComment(Integer id);
}
